#ifndef VIEW3DINVENTOR_H_H_H_
#define VIEW3DINVENTOR_H_H_H_
#include "VIewWindow.h"
class QStackedWidget;
class view3DInventorViewer;
class Document_Gui;
class QFrame;
class View3DInventor : public ViewWindow
{
	Q_OBJECT;

	TYPESYSTEM_HEADER();
public:
	View3DInventor(Document_Gui* pcDoc,QWidget* parent, Qt::WFlags wflags = 0);
	~View3DInventor(void);


public:

	virtual bool onMsg(const char* pMsg,const char** ppReturn);
	virtual bool onHasMsg(const char* pMsg)const;

    virtual bool eventFilter(QObject *, QEvent *);

    void setCurrentViewMode(ViewMode newmode);
	void mouseDoubleClickEvent(QMouseEvent * e);

	void dropEvent(QDropEvent *e);

	void dragEnterEvent(QDragEnterEvent *e);



private:
	view3DInventorViewer * _viewer;
	QStackedWidget* stack;
	QFrame*         frame;


};
#endif